@extends('layout.master')

@section('title', '后台管理系统')

@section('content')

    <body class="easyui-layout">

    <div class="box">

        <form id="form">

            <table border="0" cellpadding="0" cellspacing="0" width="100%">

                <tr>

                    <td style="width: 10%"><span style="color: red">*</span>用户名:</td>

                    <td style="width: 90%"><input type="text" class="mg_code" name="mg_code" value=""></td>

                </tr>

                <tr>

                    <td style="width: 10%"><span style="color: red">*</span>密码:</td>

                    <td style="width: 90%"><input type="text" class="mg_pwd" name="mg_pwd" value=""></td>

                </tr>

                <tr>

                    <td><span style="color: red">*</span>真实姓名:</td>

                    <td><input type="text" class="mg_code" name="mg_name" value=""></td>

                </tr>

                <tr>

                    <td><span style="color: red">*</span>联系电话:</td>

                    <td><input type="text" class="phone" name="phone" value=""></td>

                </tr>

                <tr>

                    <td><span style="color: red">*</span>选择角色1:</td>

                    <td>

                        <ul>

                            @foreach ($roles as $r)

                                <li><input type="checkbox"  name="rids[]"  value="{{$r->role_id}}">{{$r->role_name}}</li>

                            @endforeach

                        </ul>

                    </td>

                </tr>

                <tr>

                    <td>操作:</td>

                    <td>

                        <input type="button" class="easyui-linkbutton" onclick="$api.addmanager()" data-options="iconCls:'icon-save'" value="提交" style="width:80px;height: 32px;">

                    </td>

                </tr>

            </table>

        </form>

    </div>

    <link rel="stylesheet" href="{{URL::asset('css/table.css')}}">

    </body>

@endsection

